// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Runtime.CompilerServices;
using ColorPacket256 = HardwareIntrinsics.RayTracer.VectorPacket256;

namespace HardwareIntrinsics.RayTracer
{
    internal class LightPacket256
    {
        public VectorPacket256 Positions;
        public ColorPacket256 Colors;

        [MethodImpl(MethodImplOptions.AggressiveInlining)]
        public LightPacket256(Vector pos, Color col)
        {
            Positions = new VectorPacket256(pos.X, pos.Y, pos.Z);
            Colors = new ColorPacket256(col.R, col.G, col.B);
        }
    }
}
